package com.college.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="BATCH_DETAILS")
public class Batch {

	private int batchId;
	private String batchName;
	private String status;
	private int deptId;
	private Date doj;
	private Date pod;
	private String deptName;
	
	public Batch(){
		
	}

	public Batch(int batchId, String batchName, String status, int deptId,
			Date doj, Date pod, String deptName) {
		super();
		this.batchId = batchId;
		this.batchName = batchName;
		this.status = status;
		this.deptId = deptId;
		this.doj = doj;
		this.pod = pod;
		this.deptName = deptName;
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="BATCH_ID")
	public int getBatchId() {
		return batchId;
	}

	public void setBatchId(int batchId) {
		this.batchId = batchId;
	}
	@Column(name="BATCH_NAME")
	public String getBatchName() {
		return batchName;
	}

	public void setBatchName(String batchName) {
		this.batchName = batchName;
	}
	@Column(name="STATUS")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name="DEPT_ID")
	public int getDeptId() {
		return deptId;
	}

	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	@Column(name="DOJ")
	public Date getDoj() {
		return doj;
	}

	public void setDoj(Date doj) {
		this.doj = doj;
	}
	@Column(name="PASSOUT_DATE")
	public Date getPod() {
		return pod;
	}

	public void setPod(Date pod) {
		this.pod = pod;
	}
	@Column(name="DEPT_NAME")
	public String getDeptName() {
		return deptName;
	}
	
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	
	
	
	
}
